package com.telit.firecommand.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.xiaolyuh.annotation.Cacheable;
import com.telit.firecommand.entity.CadPlotIcon;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 * 标绘图形 Mapper 接口
 * </p>
 *
 * @author yummy
 * @since 2021-07-31
 */
public interface CadPlotIconDao extends BaseMapper<CadPlotIcon> {

    @Cacheable(value = "firecommand:plotIcon:selectByIconId", depict = "根据ID查询标绘图标")
    CadPlotIcon selectByIconId(@Param("iconId") Long iconId);

}
